<!--
@license
Copyright 2020 The TensorFlow Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<h3>Upload to TensorBoard.dev</h3>
<p>
  <a
    href="{{tensorboardDotDevUrl}}"
    target="_blank"
    rel="noreferrer noopener"
    class="anchor-text"
  >
    TensorBoard.dev</a
  >
  enables you to easily host, track, and share your ML experiments with
  everyone. You can share a link to the uploaded TensorBoard in papers, blog
  posts, and social media. This can showcase the results more effectively and
  helps reproducibility.
</p>
<p>To upload a logdir to TensorBoard.dev, run the command:</p>
<div class="command">
  <pre><code>{{getCommandText()}}</code></pre>
  <button
    mat-icon-button
    class="command-copy"
    [cdkCopyToClipboard]="getCommandText()"
    title="Click to copy the command"
  >
    <mat-icon svgIcon="content_copy_24px"></mat-icon>
  </button>
</div>
<p>
  Only certain plugins are currently supported. Uploaded TensorBoards are public
  and visible to everyone; do not upload sensitive data.
</p>
<div class="bottom-buttons">
  <button mat-flat-button class="close-button" (click)="onClose()">
    Close
  </button>
  <a
    mat-flat-button
    class="learn-more-button"
    href="{{tensorboardDotDevUrl}}"
    target="_blank"
    rel="noreferrer noopener"
  >
    Learn more
  </a>
</div>
